package com.hxy.modules.demo.service;

import com.hxy.modules.common.page.Page;
import com.hxy.modules.demo.entity.BudgetaplyEntity;
import com.hxy.modules.demo.entity.LeaveEntity;

import java.util.List;
import java.util.Map;

/**
 * 预算申请
 * 
 * @author hxy
 * @email huangxianyuan@gmail.com
 * @date 2018-05-11 17:17:14
 */
public interface BudgetaplyService {
	
	BudgetaplyEntity queryObject(String id);
	
	List<BudgetaplyEntity> queryList(Map<String, Object> map);

    List<BudgetaplyEntity> queryListByBean(BudgetaplyEntity entity);
	
	int queryTotal(Map<String, Object> map);
	
	int save(BudgetaplyEntity budgetaply);
	
	int update(BudgetaplyEntity budgetaply);
	
	int delete(String id);
	
	int deleteBatch(String[] ids);

	Page<BudgetaplyEntity> findPage(BudgetaplyEntity budgetaplyEntity, int pageNum);

}
